package com.moli.iov.manager;

import java.io.Serializable;

/**
 * @author fudh
 * @ClassNmme ManagerConstant
 * @date 2019/2/21 11:39
 * @Description: TODO
 */
public class ManagerConstant implements Serializable {

    /**
     * redis缓存所有字典key的前缀
     */
    public final static String DICT_MAP_PREFIX = "IOV:SERVICE:MANAGER:DICT:MAP:";

    /**
     * redis缓存侧边栏基础字典数据
     */
    public final static String BASE_DICT = "IOV:SERVICE:MANAGER:DICT:BASE";

    /**
     * 缓存用户修改权限的tag,有值该用户权限未做修改；无值该用户权限信息已经被修改（自己或者他人）
     */
    public static final String USER_AUTH_TAG_PREFIX = "IOV:SERVICE:MANAGER:";

    public static final String ADD_SUCCESS_MSG = "添加成功";

    public static final String ADD_FAILED_MSG = "添加失败";

    public static final String UPDATE_SUCCESS_MSG = "修改成功";

    public static final String UPDATE_FAILED_MSG = "修改失败";

    public static final String DELETE_SUCCESS_MSG = "删除成功";

    public static final String DELETE_FAILED_MSG = "删除失败";


    /**
     * redis缓存所有字典 MAP
     */
    public final static String DICT_MAP_TYPE = "IOV:SERVICE:MANAGER:DICT:MAP:TYPE";

    public final static String DICT_MAP_TYPE_CONNECTOR = "##";

//    public final static String DICT_MAP_TYPECODE_CONNECTOR = "&&";

    public final static String DICT_MAP_TYPECODEVALUE_CONNECTOR = "&&&";
}
